package com.clkj.nangang.mvp.index.newsdetail;


import com.clkj.nangang.mvp.base.BasePresenter;
import com.clkj.nangang.mvp.base.BaseView;
import com.clkj.nangang.mvp.model.NewsDetailModel;

/**
 * Created by Administrator on 2017/3/1.
 */

public class NewsDetailContract {

    public interface View extends BaseView<Presenter> {

        void onNetError(String tip);

        void getNewsDetailSuccess(NewsDetailModel newsDetailModel);

        void getNewsDetailFail(String tip);
    }

    public interface Presenter extends BasePresenter {

        //获取新闻详情
        void getNewsDetail(String id);

    }

}
